package com.study.forumsystemproject.dao;

import com.study.forumsystemproject.model.ArticleReply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleReplyMapper {
    int insert(ArticleReply row);

    int insertSelective(ArticleReply row);

    ArticleReply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ArticleReply row);

    int updateByPrimaryKey(ArticleReply row);

    /**
     * Description: getReply
     * Param:  articleId
     * return: 回复信息列表
     * Author: xiaoxie
     * Date: 11:15 2024/8/19
    */
    List<ArticleReply> getReply(Long articleId);
}